import e


class App1:  # 类名规则：App+文件名，文件名首字母大写，如temp.py，类名一定要为AppTemp
    def priority(self):  # 该插件在你的plugin的app目录里的触发优先级
        return 3

    def should_trigger(self, message, event):
        result = False  # 初始化结果变量
        if hasattr(message, 'content'):
            if not message.content is None:
                result = message.content == "666" and event == 0
            else:
                result = False and event == 0
        return result

    async def execute(self, message, api, event):
        await e.reply(api, message, "777", True)
        return True
